# Contributor: Dennis Krupenik <dennis@krupenik.com>
# Maintainer: Dennis Krupenik <dennis@krupenik.com>
pkgname=clinfo
pkgver=2.2.18.04.06
pkgrel=0
pkgdesc="Print all known information about all available OpenCL platforms and devices in the system"
url="https://github.com/Oblomov/clinfo"
arch="all"
license="CC0-1.0"
makedepends="opencl-headers opencl-icd-loader-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/Oblomov/clinfo/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"
options="!check" # no upstream test suite

build() {
	make
}

package() {
	make BINDIR="$pkgdir"/usr/bin MANDIR="$pkgdir"/usr/share/man  install
}

sha512sums="4aa1623bd08602e2104b4ba3150f36a9e8e8fb25728d4a1792a9cc81a2a5952a4a78ccad0928f098ce4e8bc05f30d09267e01ccd81d541fdfb0bc7de46908faf  clinfo-2.2.18.04.06.tar.gz"
